﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="WebApplication1.Test" %>

<%@ Register Src="~/UserControls/Greeting.ascx" TagPrefix="uc" TagName="Greeting" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <uc:Greeting ID="myGreeting" runat="server" />
    <br /><hr />
    <br /><br />
    <asp:Button Text="Tell me the name from the greeting above ..... " 
        runat="server" onclick="Unnamed1_Click" />
    <br />
    <br />
    <asp:Label Text="" ID="lblFullName" ForeColor="Maroon" Font-Bold="true" runat="server" />
    <br /><br />
    New Name: <asp:TextBox runat="server" ID="txtNewName" />
    <asp:Button Text="Set new name" ID="btnNewName" runat="server" 
        onclick="btnNewName_Click" />
</asp:Content>
